-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustfmt
: Run on util/*
(2/2)
#3323
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3323 +/- ##
==========================================
+ Coverage 89.61% 90.50% +0.89%
==========================================
Files 129 130 +1
Lines 105506 114132 +8626
Branches 105506 114132 +8626
==========================================
+ Hits 94544 103293 +8749
+ Misses 8208 8109 -99
+ Partials 2754 2730 -24 ☔ View full report in Codecov by Sentry. |
6c4dd83
to
9b991df
Compare
Ugh, can we split this? 42 commits in one PR is just a lot... |
Alright, happy to if you prefer (although at least half of these commits are one-line diffs). Now split out ~the first half of commits to #3324. |
60ae0af
to
e2dcdc7
Compare
Rebased after #3327 landed. |
e2dcdc7
to
bc122e3
Compare
Rebased after #3324 landed. |
bc122e3
to
572f48c
Compare
Rebased to resolve minor conflicts. |
572f48c
to
449a0d6
Compare
Rebased once more to resolve minor conflicts. Any additional comments here after we landed the split-out commits in #3324, @TheBlueMatt ? |
449a0d6
to
b909a7a
Compare
Rebased once more to resolve minor conflicts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some initial comments. Maybe could have been split across PRs.
do_test!(concat!("01", "08", "0100000000000000"), Some(72057594037927936), None, None, None); | ||
do_test!(concat!("02", "08", "0000000000000226"), None, Some((0 << 30) | (0 << 5) | (550 << 0)), None, None); | ||
do_test!( | ||
concat!("01", "08", "0100000000000000"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure how much readable it would be pulling out stuff here into variables? Seems that might just make stuff more confusing?
.. we pull out `Mutex` field initialization into dedicated variables as they might otherwise land on the same line when formatting, which might lead to lockorder violation false-positives when compiled with the `backtrace` feature.
b909a7a
to
0750550
Compare
Addressed all but one comment. |
This is PR 2/2, based on #3324.
The diff is a bit larger for this one, but AFAICT the changes look mostly reasonable (besides the oddity commented below).
FWIW, I had a look at currently open inflight PRs and the conflicts should be minimal if I'm not overlooking something.